$(document).ready(function(){
    $.ajaxSetup({cache:false});
    var gid = $('#hidden-gid').attr('title');
    var uname = $('#user-info-uname').attr('value');
    setInterval(function(){
        $('#chat-left-user-list').load('./SourceCode/Check_Online.php?uname='+uname+'&gid='+gid);
    },10000);
    setInterval(function(){
        $('#num-user-on').load('./SourceCode/Count_Online.php?gid='+gid);
    },10000);
});